package com.abacus.pos.business

import android.util.Log
import com.abacus.pos.R
import com.abacus.pos.base.BaseActivity
import com.abacus.pos.business.login.LoginFragment
import com.abacus.pos.databinding.ActivityMainBinding

/**
 * 项目  AbacusPos
 * 描述 this is ....
 * 作者 CaiLh
 * 时间 2021/5/25
 */
public class MainActivity : BaseActivity<ActivityMainBinding>() {
    override fun getLayoutResource() = R.layout.activity_main

    override fun initVM() {

    }

    override fun startObserve() {

    }

    override fun onPortrait() {
      Log.i("clh","onPortrait")
    }

    override fun onLandScape() {
        Log.i("clh","onLandScape")
        switchFragment(LoginFragment())
    }

    override fun getContainId() = R.id.homeLayout
}